home *** CD-ROM | disk | FTP | other *** search
- package javax.swing.plaf.basic;
-
- import java.awt.event.ItemEvent;
- import java.awt.event.ItemListener;
- import javax.swing.ComboBoxModel;
-
- public class BasicComboBoxUI$ItemHandler implements ItemListener {
- // $FF: synthetic field
- private final BasicComboBoxUI this$0;
-
- public BasicComboBoxUI$ItemHandler(BasicComboBoxUI var1) {
- this.this$0 = var1;
- }
-
- public void itemStateChanged(ItemEvent var1) {
- ComboBoxModel var2 = this.this$0.comboBox.getModel();
- Object var3 = var2.getSelectedItem();
- if (this.this$0.editor != null) {
- this.this$0.comboBox.configureEditor(this.this$0.comboBox.getEditor(), var3);
- }
-
- this.this$0.comboBox.repaint();
- }
- }
-